fix node mcollective script
more bugfixes