diff --git a/CI/cdash_handler.py b/CI/cdash_handler.py
index 39bf224de793e69c237f476ebf1b04ba44a0d9e9..ea32e80c704a832e63df7601628f2c13a460985e 100644
--- a/CI/cdash_handler.py
+++ b/CI/cdash_handler.py
@@ -217,16 +217,16 @@ if __name__ == "__main__":
   if trace:
     print (sys.argv)
   handler = Handler()
-  # build_dir = os.path.join( sys.argv[3] , "build/")
-  build_dir = sys.argv[3]
+  build_dir = os.path.join( sys.argv[3] , "build/")
+  # build_dir = sys.argv[3]
   if trace:
     print("build_dir is: " + build_dir)
   handler.build_dir = build_dir
   handler.GetSite()
   handler.GetName()
   handler.GetStamp()
-  # handler.GetBuildId()
-  handler.buildid="1"
+  handler.GetBuildId()
+  # handler.buildid="1"
   cdash_url = handler.GetBuildUrl()
   if trace:
     print ( "cdash_url is: " + cdash_url )