diff --git a/examples/ClientTests/scripts/Check_shape.py b/examples/ClientTests/scripts/Check_shape.py
index 0672f99fc72c8674fa4ee71d0966ca2bf3b2fb73..5179f58bfbbd1f15b14f62fb03f828577a40733f 100644
--- a/examples/ClientTests/scripts/Check_shape.py
+++ b/examples/ClientTests/scripts/Check_shape.py
@@ -1,5 +1,7 @@
 from __future__ import absolute_import, unicode_literals
-import os, sys, DDG4
+import os
+import sys
+import DDG4
 #
 """
    dd4hep example setup using the python configuration
@@ -12,7 +14,6 @@ import os, sys, DDG4
 
 def run():
   kernel = DDG4.Kernel()
-  install_dir = os.environ['DD4hepExamplesINSTALL']
   # Configure UI
   geant4 = DDG4.Geant4(kernel, tracker='Geant4TrackerCombineAction')
   geant4.setupCshUI(vis=True)