New Working leveling system. The index file is now in XML instead