Added an initializer for s3 due to incorrect paths and urls.