(Blush)
This is embarrassing for me.
I don’t know why it is, but sometimes I have to ask a “dumb” question before I can resolve it myself.
What I missed is in the EXEC node I was only entering the file name of the script I wanted to run.
I now realise I have to enter:
bash (filename)
and it works.
I am sorry.
Believe me, I don’t like to waste people’s time.