Touched up some namespace stuff a little, fixed example script.