added some initializer for s3 upload with credentials in env variables