Made Globals as HiddenInput; Changed the order of the scripts to run;
minor changes
Made Globals as [HiddenInput(DisplayValue = false)]