alter index writing to be usable from external tools