inputpipe.sh script