convert reindex_text to a console script from a karlserve script