added dynamic unit to addjob