Added support for s3 buckets in different regions.