replay_script.rb