saving a record of original script with the output dumps