added config code for heroku