# run job scripts within the tool outputs directory
cd ${REPORT_FILES_PATH}

#========== build and run job 1 script ============
cat >curl-download.sh <<EOF
curl $X_u > output.$X_n
cp output.$X_n ${JOB_WORKING_DIR}
EOF

# run job 1 script
sh curl-download.sh

