updated demo script 2