more sensible fixperms script