Code from 2006 - shell host control panel - DO NOT USE IN PRODUCTION