modified run script and txt file that is input for the script