script to insert records