The input file that is created while running monte carlo runs is done in 3 different places. There was no easy way to collect all of those lines in one place, so I duplicated the lines in the dryrun function.