add a prepublish script