added system exit when user type exit in command bar