update demo for script.