add S3 region support