updated script demo to reflect new changes