Make database connectivity Heroku complient