Ok, I'll spell it out. You don't
really want the ability to alter any files anywhere, do you? Because that means...
The script must have some sort of "accept and execute this remote command" ability but ok, it only works from your server right? What if the server's DNS was poisoned so it accepted the commands from, say Russia instead?
Or - even worse - if your systems got broken into. Hello, botnet
In short it's a bad idea