Exit command

deal with exit commando to pass correctly