Some script tools malfunction if the script environment is not restarted.
Therefore, it would be helpful if script tools that have restart=1 defined deactivate the tool at the end of execution and switch to the inspection tool.
This ensures that the tool and the script environment are restarted when used again.