First version of script to manage photos