added changes to fit heroku whatever