Fixes deployment to Heroku