changes to integrate the use of S3 buckets