added s3 upload of images