use yml file for configuration instead