Revised database var to accept heroku.