Config databases to get path from environment variables and enable it to use with Heroku