This function is getting super big. Please split up into two functions, one for mozillians and one for reps.