New scripting example in the core