Prepare for publishing