utility to modify INSPI2 scripts