Added preInit() for config file