Use sudo where appropriate