Implemented support for receiving text on stdin