Simplify prepublish