updating cordova commands to work with cordova 2.1+