change post install to prepublish