Update pack.sh for cordova build