Restore conf at the end