Added Ability to switch off vhost in code..