Add support for CDH4 + Modified jobname parsing to be more generic (incompatible with previous way of operation, but much more easy and flexible...)