Rewrite time management in replayer.