needed updates to deploy on Heroku