adjust to run in heroku