moved the sudo warning after the OS validation