Reordering for #11

Changing code around to better prepare for #11
Better fix for #10

Each job is now written directly to the pipeline instead of dumping them
all out as an array