demo example script now works properly (with a name)