attempt at entirely fixing sys command escaping