added option to toggle off flattening of job options.