I'm pretty sure you can do this using a script already, so when you install, just call the script.