Add prepublish script