onScriptSave
before render
before each frame
after render