added table definitions to SQL script