protected override void OnSet(Engine engine, object value)
 {
     if (engine.ScriptDepth == 1)
         engine.SetVariableInParentScope(VariableName, value);
     else
         engine.SetVariable(VariableName, value);
 }