modify nightly run example
add degree of parallelism as a parameter to run_jar