rename optionalSystem to optionalSudo