Fixed the exec calls and added a sample file on how the piping works