add prepublish