reconstructing orig dir/modules structure