script to generate zip file