add archive and archive header