automatic script to generate cordova project