Add s3_region parameter
Pass :endpoint instead of deprecated :s3_endpoint