Added (first try) support for multiple jobs