Creating pr2dwExtract Groovy