Added prepublish back