Use sudo when appropriate