refactoring to have a single point for profile configuration
refactoring to have a single point for profile configuration