added settings, restores old settings