Add script to check until jobs finished. Add arguments for the parallel execution.