minor changes to allow heroku deployment