remove all global usages in the entire scripting system