adding some code for executing an external groovy script