allow specifying method, also fix append passthrough
NMS-7163 fix system report running
NMS-7174 make sure runjava scripts write to the console