Fix example script to work with new schema.