Added opcode for PBS options
Fixed faulty logic in test for whether a task should run

When there is no input, don't run if you have all the output files.