Cleanup from old settings + regenerate option.