Use STDOUT instead of $stdout for Stdout device
Added IO device