migrate to new format script, move db scripts to scripts/db