Fixed bug in installation

Updated to install pkgIndex.tcl