basic server script