fix handling of setenv in configf and merge bug in db.scm