Updated server script