small updates to groovy scripts