Mods for heroku deployment