Set prepublish script