change variable on reload