Added dynamic database config for the sake of Heroku