Updated for latest SDK and Freewill.js