Add compact/compress at the end
close log at the end
Indent issue resolved
drop gzSupport from one call, 1 cosmetic item