clean up log; add archive template