add I/O redirection for shell based backends