Use flags in replayer