changing images to be stored on amazon S3