Revert "Revert "script create table""

This reverts commit ee6dea2236b8d5c7dc6005885150e4512ed10c7e.