Added InvalidCommandException for commands that can't be executed