diff --git a/jenkins/common.sh b/jenkins/common.sh
index d7ec9231d57a39e67b249bbc44066f19c3582f38..7b7c8b010e7b55f5543b10623d929928a7b31446 100644
--- a/jenkins/common.sh
+++ b/jenkins/common.sh
@@ -61,9 +61,6 @@ else
   . /afs/cern.ch/lhcb/software/releases/LBSCRIPTS/dev/InstallArea/scripts/LbLogin.sh --no-cache
 fi
 
-# FIXME: Get the latest getpack (while waiting for the release)
-export PYTHONPATH=/afs/cern.ch/work/m/marcocle/workspace/LbScripts/LbRelease/python:$PYTHONPATH
-
 # FIXME: with gcc49 we do not get the right Python with LbLogin
 if (echo $CMTCONFIG | grep -q gcc49) ; then
   export PATH=/afs/cern.ch/sw/lcg/releases/LCG_68/Python/2.7.6/x86_64-slc6-gcc48-opt/bin:$PATH
diff --git a/jenkins/periodic_to_run.sh b/jenkins/periodic_to_run.sh
index 1ed4e0f451324b3fbfa731aba810f6f9210d5eed..894ce916822c22b03b41aeb7384fd62a070de323 100755
--- a/jenkins/periodic_to_run.sh
+++ b/jenkins/periodic_to_run.sh
@@ -13,7 +13,7 @@
 PERIOD=${1:-3600}
 
 # hack because of a bug with non-writable home (this script is run by tomcat)
-export HOME=$PWD
+#export HOME=$PWD
 
 # Set common environment
 . $(dirname $0)/common.sh
diff --git a/python/LbPeriodicTools/LbPeriodicTestExporter.py b/python/LbPeriodicTools/LbPeriodicTestExporter.py
index 710dd071fabc87ec37691988afeecb4cbaf348a0..6aa182b4b234e693ae37a7239440e59028afa3b4 100644
--- a/python/LbPeriodicTools/LbPeriodicTestExporter.py
+++ b/python/LbPeriodicTools/LbPeriodicTestExporter.py
@@ -26,7 +26,6 @@ from LbPeriodicTools.LbPeriodicTestCreator import PeriodicTestCreator
 __log__ = logging.getLogger(__name__)
 
 def getFilename(test):
-    print(test)
     filename = test['slot'] + "." + \
             str(test['build_id']) + "." + \
             test['project'] + "." + \
@@ -91,7 +90,7 @@ class PeriodicTestExporter(object):
             
     def getTests(self, predicate=None):
         '''
-        Parse the file specified and save the ElementTree
+        return only the test as separated by platform
         '''
         return self._all_tests
 
@@ -129,7 +128,8 @@ class PeriodicTestExporter(object):
         '''
         Export the files to the database as requested
         '''
-        dash = Dashboard(db_info=database)
+        dash = Dashboard(flavour=database)
 
         for test in self._all_tests:
-            dash.publish(test,getFilename(test))
+            name  = getFilename(test)
+            dash.publish(test, name)
diff --git a/scripts/lbp-periodic-to-run b/scripts/lbp-periodic-to-run
index 501490671f4e33d6fb3f05856f8294efcffcf127..769949d381b1889c1c19f3cadd25108dcff574c7 100755
--- a/scripts/lbp-periodic-to-run
+++ b/scripts/lbp-periodic-to-run
@@ -70,8 +70,8 @@ class Script(LbUtils.Script.PlainScript):
             testdate = datetime.datetime.strptime(opts.date, '%Y-%m-%d %H:%M')
         
         #just for testing
+        #testdate = testdate.replace(hour=11,minute=31)
 
-        
         testdateend = testdate + datetime.timedelta(seconds=int(opts.interval))
 
         self.log.warning("Checking for tests from %s for the period %s/%s"
diff --git a/scripts/lbpr-export-todb b/scripts/lbpr-export-todb
index 406260fbd6fd59d8527f1cde9f8cc269223fa87b..923477fe99eb1932940838e01630e343f07325a6 100755
--- a/scripts/lbpr-export-todb
+++ b/scripts/lbpr-export-todb
@@ -115,7 +115,7 @@ class Script(LbUtils.Script.PlainScript):
     
         if opts.flavour:
             database = opts.flavour
-            
+     
             if opts.endtime != None and opts.status!=None:
                 testrunning.updateTimeVar(opts.endtime,database)
                 testrunning.updateStatus(opts.status,database)