Hello,
Sorry for the confusion, but we are not sure how exactly you need to update the script in regards to job titles. Do we understand correctly that it should just ignore users with specific values of the Job Title property? Any additional details regarding the desired report and a live example would be much appreciated.