Piping

Getting piping working, just need to call the execute_pipe function in
the right place.