made additional configuration changes to get image upload to work on heroku