i might miss-understand what you're saying? sorry if my original post was not clear.
When i attempt to run the script in the image below, clicking the "Run in background" button, nothing happens.
script is identical to the one i use on another unraid server without issues. however even the default scripts that come with the 'userscripts' plugin do not run in background.