add stdout and stderr redirect options