Index Page Reformat

improved the index printer to print the nameSegment