Change of script for managing photos.