Added hot_exit flag