write host msg to match command thats being run