save nicks and exit tox properly