added S3 image upload