updated pipe cmd