improve commands to correctly squelch windows output