updates for loading cordova through script