Ignition Edge Project Script Value or Quality Script not Firing

Context: I have a script which fires on value (or quality) change that searches a dictionary of integers and looks up an associated engineering unit (and writes to .EngUnit). The ignition edge instance pulls the integer in over OPC UA.

Problem: In the development phase of the project (using trials), I expect that resetting the trial causes a re-connection to the OPC UA Server, to update the Quality of the tag, however, re-connection often does not trigger the script. When I apply the same script with no update, the script executes as expected.

Is there a better way to execute this type of script where either a value change or quality change, is expected to fire the script?

Seems odd to me that you'd be scripting an EU change. Does the EU change on the fly? If so, what value(s) determine the EU? Sounds like a job for an expression string to me, rather than using the included tag EU property.

What does your script look like? Does it check for initial change?