code: public ScriptedAction where(String name, Object value) {
          try {
              interpreter.set(name, value);
          }
          catch (EvalError e) {
              throw new IllegalArgumentException("invalid name binding", e);
          }
          return this;
      }
docs: Defines a variable that can be referred to by the script.
  
  @param name
  the name of the variable
  @param value
  the value of the variable
  @return
  the action, so that more variables can be defined if needed