moved the s3 credentials and storage setting into model to see if it will work with heroku