apply_profile: merge functions for settings