further tweaking for heroku deployment