hotfix for piping message from stdin
Merge pull request #13 from opentechinstitute/pipe-fix

hotfix for piping message from stdin

tested by areynold