Update redirection code.
Use error redirection shortcut method.