Groovy scripts to remove cases/questions