echo scheme is not quite working; can't get data from echo to stdin of commands