my @bpx = qx(/local/mnt/quadmcd/bcommand -pol "${line}" -sl TIMESTATE -d $final_start -e $final_end -L |grep -i "inventoryid:" |awk '{print $3}');