Groovy scripts example for feature #87
Code cleaning