Collective npt and md not running from this script frame-*_run-umbrella.sh?

GROMACS version:
GROMACS modification: Yes/No
Here post your question
I completed generation of frames for umbrella but when i run the bash frame-*_run-umbrella.sh script only the first frame npt and md are running after which it stops. But according to script all frames should run in loop automatically. What could be the possible solution.