diff --git a/Custom_MNS/flexible_custom_hierarchical_mns.py b/Custom_MNS/flexible_custom_hierarchical_mns.py
index eaf5a8e671ecdaadb4bd1f6e12c35f6d31b303a5..e35a4c8572decbfceb9e07a017e207358f9891bb 100644
--- a/Custom_MNS/flexible_custom_hierarchical_mns.py
+++ b/Custom_MNS/flexible_custom_hierarchical_mns.py
@@ -235,7 +235,7 @@ class FlexibleCustomHierarchicalMNS(HierarchicalMNS):
                 comp_name_ver = [ec['name'], self.det_full_version(ec)]
                 # Handle the case where someone only wants iccifort to extend the path
                 # This means icc/ifort are not of the moduleclass compiler but iccifort is
-                if ec['name'] == 'iccifort':
+                if ec['name'] == 'iccifort' or ec['name'] == 'intel-compilers':
                     comp_name_ver = ['intel', self.det_full_version(ec)]
 
             # Exclude extending the path for icc/ifort, the iccifort special case is handled above