Performing a custom action with a Groovy script