eliminated duplication of records in expanded services portion of import_services function