Allow setting different profiles for different controllers, and automatically use the appropriate profile directory.