The handling of the Script Reload with Debug and output of the Script Trace is tricky. Do you have an example?