Enhanced to run more than one jobs.