fixes links to counties in generated tables
changes county link logic
more changes to counties pages