modifications for zip files and header changes