create tables script