Autorun script after combined reset and update

I’m trying to run system reset with “run-after-reset” after uploading an OS-update. This updates and resets the router, but the script I want to run does not. If i run the command again when the router is updated it works.

Is there any way to update, reset (no defaults) and automatically run a script afterwards?

Thanks!