script extension changed

Based on http://mrhaki.blogspot.com.es/2011/10/groovy-goodness-default-groovy-script.html