Update make-index.pl for new layout