running with yaml as optional