changed to s3_endpoint in production and put in credentials