changed things to allow heroku to work