Added more functionality to ProfileManager