Added support for configurable s3 bucket.