add option to run demo from client