Ok yeah sorry about that, I forgot we disable any script to run under scAgent3.4.0 directory (I think just under config directory), this is for security reasons. You can run and setup scripts anywhere else just not under that directory.
Also did you have NGS case for this? Engineering got an escalation for something that sounded very similar?
Case number is 2002360879, please let us know and NGS if this is your case that you have solution. NGS will want to capture this for any future cases