[WIP] improve redirection

    - enable swapping stdout with stderr
[WIP] fixed redirection