More progress on output redirection