Added stdout stuff