use yaml config file