change db connection to be configurable per env