the script itself should actually not be in the menu, it should rather be hidden and automatically run when network config changes.