diff --git a/Generators/PowhegControl/python/processes/powheg/Z_EW.py b/Generators/PowhegControl/python/processes/powheg/Z_EW.py
index 18143eae701721b2243377258d7c6e6dbb11d775..1a3ab806e5a32bd3509e4187395423190c416cec 100644
--- a/Generators/PowhegControl/python/processes/powheg/Z_EW.py
+++ b/Generators/PowhegControl/python/processes/powheg/Z_EW.py
@@ -1,7 +1,9 @@
 # Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
 
 from AthenaCommon import Logging
+from ..external import ExternalPHOTOS
 from ..powheg_V2 import PowhegV2
+import os
 
 ## Get handle to Athena logging
 logger = Logging.logging.getLogger("PowhegControl")