updated replayRuns and checkCorreupted runs scripts