removed s3 upload code