moved scripts to use DBMgr