added gunzip conditional to reanalysis