added the possibility to execute more than one job