Now writes correct structure file for multiport C & I