added sudo to commands that require it