Fixing typos and permissions