moved cordova script up.