Changin initialization order for global configuration.