changed awks to cut where feasible