added support for partial agencies load