Code spike of exception handler
Brings back the setup_generator