Changing images to be stored on Amazon S3