Changed per-item process to a pipe