restruct dirs