new scripts: dateloopcmd and db_patch_runner.py