Use $stdout instead of STDOUT
Merge pull request #21 from michaelmior/stdout

Use $stdout instead of STDOUT