changes in the demo scripts