Thank you
I will try that tonight.
Bear in mind that stefan’s suggestion is not necessary when you run the script already as root. It’s only usable for running the script as an OS X user.