pipes terminal script