Added error redirections