Redirecting output into screen