move sudo to before yes pipe