Fixed typos, misplaced commands, added missing backslashes