https://zdimension.fr/stop-using-global-variables-in-extensions/
Stop using global variables in extensions - zdimension