Hi, I might have a simple solution for you. Check out my bash script for setting up dom0 after a fresh install. In the end you will find my little script-injector I use to run scripts from dom0 in any given VM. After execution it will be erased from the VM again.
This way you can store and maintain all your scripts in a folder in dom0.
It is not very sophisticated but it is doing the job and saves me a lot of hustle.