Made it heroku compatible