Added debugging logs for replay script selection