Added buggy new profiles feature; see last commit for details