fixed example script