updates to be compatible with cordova cli