Stdin stream handling added