Fix some incoherence and an error with sudo