start adding output redirection from string