replace script to demo