Use updated helper.
Read cmd from pipeline data directly.