better server script