Updated StdRedirect for eclipse