script and object to run demo