adding S3 configuration