I have a script variable that stores a refresh token for an Oauth2.0 authentication which I use to request access tokens from a script listener. However I would like to automate the process of resetting this script variable when the token expires. Is this possible, or else, is there another way I can store this where it can be updated from a script?