Added debugging for heroku.