config.read part made global