add ability write replays