UPdated the example script.