Use repl session in groovy instead of using the CRaSH object directly