fixed broken demo script