start using profile_flags in photo queries so we can start creating PHOTO_THING's