gen script now adds to create table