Add compound command and cursor