added s3 photo capability