expanded example script