regenerate settings