diff --git a/ci-scripts/main.py b/ci-scripts/main.py
index 93fe2b12fa6f204b923ff72ac3720994e90e2fac..55eb7ad075b1a39c1ce6e921e9bf6bb24df82989 100644
--- a/ci-scripts/main.py
+++ b/ci-scripts/main.py
@@ -3321,20 +3321,18 @@ def receive_signal(signum, frame):
 
 #loading xml action list from yaml
 import yaml
-xml_class_list_file=''
-if (os.path.isfile('xml_class_list.yml')):
-	xml_class_list_file='xml_class_list.yml'
-elif (os.path.isfile('ci-scripts/xml_class_list.yml')):
-	xml_class_list_file='ci-scripts/xml_class_list.yml'
+xml_class_list_file='ci-scripts/xml_class_list.yml'
+if (os.path.isfile(xml_class_list_file)):
+	#file will be opened only if it exists
+    with open(xml_class_list_file,'r') as file:
+    # The FullLoader parameter handles the conversion 
+    #from YAML scalar values to Python dictionary format
+      xml_class_list = yaml.load(file,Loader=yaml.FullLoader)
 else:
 	logging.error("XML action list yaml file cannot be found")
 	sys.exit("XML action list yaml file cannot be found")
 
-#file will be opened only if it exists
-with open(xml_class_list_file,'r') as file:
-    # The FullLoader parameter handles the conversion 
-    #from YAML scalar values to Python dictionary format
-    xml_class_list = yaml.load(file,Loader=yaml.FullLoader)
+
 
 mode = ''