splitting command args for pipe working