Changing MongoDB config to allow for deploying to Heroku.