Why was the customs service vitally important to survival of the Chinese government?