Modified server script