if EM add_shutdown_hook instead of at exit
add HISTORY.md