I have a Groovy script(from an external source) which doesn\'t have any class and may have certain variable/objects which are not defined, making the whole script non-execut