updated demo script