Extend the script() function such that a beanshell script can be called with arguments passed to it, with those arguments showing up as "bsh.args[0]".
– Gary Furash