Add casing and permissions fixes.