better stdout handling, no additional new lines
Merge remote-tracking branch 'origin/master'
merging newline handling