Also added logic to copy items to their correct project folder if a project is given and the corresponding project folder exists.