If the script is in a pipe, don't pring a \n