add zip function to build.sh