Fixed to read from STDIN