Added option to bootstrap db. Switched to ENV vars.