script to create tables in db