Housekeeping, prepare for publishing