Improve cl to accept input from stdin