DBGEN script finished and tested with m0-m12