Added a check to make sure something gets piped