Made load_replay work off of a string instead of a file.