Removed duplicate domains component of OUTPUT_PATH.
Added code to run first part of job on EMR, then second part locally, as running
the entire job on EMR seems to lose 75% of the results.
Added code to run first part of job on EMR, then second part locally, as running the entire job on EMR seems to lose 75% of the results.