Generated Token every 10 mins and use it during load test

Hey @eyeveebe, I appreciate your lengthy answers in a number of these threads. I can see the Periodically refreshing a token aside a script - #3 by codebien approach by @codebien mentioned a few times as being the best approach.

However, I have tried this and the refreshed variable never gets reassigned, seemingly because it is deemed init code. Is my thinking correct here?