Add case EXIT in executeCommand