My friend Pete, around the same time, released a module that accomplishes this in a more robust way, essentially upgrading the way you manage sites in a Sitecore solution. Pete’s module is worth considering if you need a more holistic solution to site management within Sitecore. Check out Pete’s module on the marketplace, and the source on GitHub.