perm changes, Makefiles regularised