added groovy script to build inserts