accept flags in yaml, and misc improvements from the field