Added getConfigGlobal func.