updating example script