add code to only download photos that were not downloaded before