-o (output) option added

Write-Output is used in stead of Write-Host when writing output from the stream.