Add prepublish script.