Added DebugCommand and fixed permissions in RemoveExCommand.