improve runEcho