get status info from YAML instead of argument