read and pass fields from build_config to config