Api changes to make wise app work with 2.6

* Tested on Mac, the script works. 
* Pending tests  on windows.