I don't think so. Global variables are updated before the run() function, not within a TMF.