Help update; Moved pipe/redir detect into function.