Quick and dirty scripting example