Redirecting some outputs to console