Fixed faulty permissions
Minor tweaks