using sudo, if present