Adds by_sector and by_country to the output URL.
Fixes missing parameter problem as reported by Bill Anderson. Thks