add input/output redirection that does not work