added scripting example