better replay script