Another update to make the App compatible with heroku