Adding pipe support
Merge pull request #2 from shaunduncan/master

Adding pipe support