Worked on the redirections in console mode and non console modes