added s3 region support