Replaced K_Constants in scripts with g_Globals