refactored g_ superglobals back to normal globals since blsgen does not provides superglobals anymore