fixing s3 configuration for heroku