use yaml or env variable