made path to phonegap a variable and updated commands from cordova to phonegap