formatting exec output