Add output redirection