Added function to output analysis data based on replays.