write to stdout after running sucessfully