Changes to profile handling
Merge remote-tracking branch 'origin'