Replaced the old script interpreter with Groovy.