reduce output from indexing script