added code to generate zip
generate zip