Small modification to API for generating ZIP