Updated import directive condition