script used to insert data into tables