starting to get it to auto-generate photos