add quit to demo command detection