enable flat file publishing and clean up publishing interface