added done and error messages post-run