Overriding Ouput input stream