OK , from that, would this work.
Im not sure how this will go.
Does the script run, then when it gets to it grab the information from that file you need? or does it get it at compile time.
I have done things a different way. I used things like
an include file and commands to define things like -
#define CAPFILE "FRI TEST "
Then in the script it gets that and uses it. But I had initially thought it was when the script was running it went and got that info, so I could therefore have one script but change the details in that include file which was happening automatically. But now I realised that dont work.
Is there a way to do this? or can it ONLY ever get the info before its compiled

From that is my only option to get the file to be automatically compiled before ran? can you do this using the compiler at the command prompt ?