Fixed formatting and added sudo to examples.