add the script for mailing the photos