oh, i think you might have forgotten to pass in the story object to the function! either way, feel free to message me on twitter, and i’ll see what i can do to help!
I feel quite dumb, that was exactly the issue. Thank you for your help!