adding support for amazon s3