Fixed some typos and permissions