database now will also get configured from environment variables