pulse example script