Added very basic support for creating scripts for tables.