Variable script updates (I should use a singleton)