Modified example script