Adjust variables to match run_fragments