Update example script

...so it actually works.