nicer threshold value output (YAML)
better handling of required args
removed leftover comment