Added STDIN reattach