Add support for stdin