create a table script