using env flags in db config file