Bug fix: Properly reads from stdin

UCC git Repository :: git.ucc.asn.au