Added reading from stdin