bug correction i physlib.cc and changes in the JobManager project