First adapt for Heroku.