added setup_scripts and exit_scripts to the Fact base class