Yes, I concur .. for me this project not only has some proper Applescript to learn from, but its install script is genius as well, although it has a bug or two, which you'll see if you try to add an alias for a command you already have ..
Still, a very interesting little bit of scripting to solve a common, age-old problem.