writeDeptsPermanentUtil should work