Fixed typos and missing sudo commands