Added replay loop.