Added redirectConsole & redirectErrors