support both pycondor and condor plugin