added reindex functionality
added reindex functionality

leophys/libreant,insomnia-lab/libreant,insomnia-lab/libreant,leophys/libreant,leophys/libreant,leophys/libreant,insomnia-lab/libreant,insomnia-lab/libreant