Hi all, I'm having trouble with `setWithWorker`. It sets the value and triggers the event but there's a function call in my event, which works when called by the sheet worker normally but is undefined when called via `setWithWorker`. Any ideas? Here's the function definition in the sheetworker (defined before the event trigger): const update_ability = function ( name ) { console . log ( 'update_ability: ' + name ); let update = {}; getAttrs ([ name + '_rolled' , name + '_advanced' , name + '_tmp' ], ( v ) => { console . log ( v ); update [ name ] = ( parseInt ( v [ name + '_rolled' ]) || 0 ) + ( parseInt ( v [ name + '_advanced' ]) || 0 ) + ( parseInt ( v [ name + '_tmp' ]) || 0 ); console . log ( update ); setAttrs ( update , { silent: false }); }); }; Here's the event trigger which calls the function: on ( "change:PS_rolled" , function ( args ) { console . log ( 'change:PS_rolled' ) update_ability ( 'PS' ); }); Here's the error message from the API Script log: "change:PS_rolled" "ReferenceError: update_ability is not defined" "ReferenceError: update_ability is not defined\n at Array.eval (eval at messageHandler (evalmachine.<anonymous>:284:6), <anonymous>:518:5)\n at self.trigger (evalmachine.<anonymous>:79:37)\n at messageHandler (evalmachine.<anonymous>:287:11)\n at process.<anonymous> (/home/node/d20-api-server/node_modules/tiny-worker/lib/worker.js:65:55)\n at emitTwo (events.js:106:13)\n at process.emit (events.js:194:7)\n at process.nextTick (internal/child_process.js:766:12)\n at _combinedTickCallback (internal/process/next_tick.js:73:7)\n at process._tickCallback (internal/process/next_tick.js:104:9)"