fixed build server script