added s3 endpoint to carrierwave