Is there a different way to set the global variable? I am not 100% happy with this assignation to a function call... maybe add a comment.

I was expecting something like `variables.set(variable, value)`