Post run scripts

Added the ability to run scripts after facts have run. Updated docs to reflect this. And started backfilling unit tests.