App updated for Heroku