table creation scripts v1