added custom cordova working dir feature