get indexer script working