Updated to latest bzToolkit API and made use of some of the new functions