fix polygon loading from shapefiles
fix directory we run index build from