make heroku compatible