added prepublish script