save job parameters back to the config file on exit