get ready for publish