Proper use of sudo (only when required)