i've written some code that creates agents from txt file (dn firstname lastname pin) and it even calculates percent of girls hired today (it knows girls names

Works like a charm, especially if you need to have correct entity and categories for agents, and you create them on daily basis and your input data came from CRM in plain TXT file.
Nice thing is when everything is OK output from script is green on your term, when it's bad (like agent exists) your term yields this with RED.
Script for deleting 1000 agents not having logged in for 99 days and first detaching from PG is a little tricky, but it takes like 40 minutes on CPU7_2 to run, and believe me it makes your blood pressure go high...