Api changes to make wise app work with 2.6

* Tested on Mac, the script works. 
* Pending tests  on windows.
Are these just for testing in this branch? You wouldn't want this in the release version, would you?