ScriptedActions with beanshell2.