some groovy scripts