Fix pipe
Fix IO redirection