mostly just altering references for .GlobalOptions to ..global_options