configure to work with heroku and mongohq