have agent IDs working dynamically

No longer statically hopefully