Fixes the problem when deducing type from test agents
This simplifies the way we count jobs per servers, we dont have to wun two separate scripts anymore