Added better support for more than one profile2 profile