add method to save shell script
This MR makes a shell script containing all the jobs in the DAG be written into the submit directory.
This will make it easier to rerun jobs from the command line.
This MR makes a shell script containing all the jobs in the DAG be written into the submit directory.
This will make it easier to rerun jobs from the command line.