Revert "cleanup profiles and settings."

This reverts commit babfef6221293da23dc53c7b89ffd5d65d8004cf.