log setting from yaml
refactoring config
a better shell