fix: master should acceppt nagios-plugins as well (with parameters)
fix: output is written at once to prevent incomplete reads