added server on/off switch