Possible duping fix, removing saveAllProfiles (causing more trouble than it's worth).