redirecting standardoutput too