very basic server control script