changing images to be stored on Amazon S3