added zip mode for smaller filesize