move global include to AfterInit due to config dependancy
utilise static initialise
move config definition after static initialisation