Modified agencyname param

Added `@mainagencycode` as second option.