adding cordova script