support for string uploads and more options for s3