Add core indices to output, clean up terminal output.