Added photo saving