add custom fact to write out collection of facts at exit