Small change
Save the config in last_config.xml before exiting