changes major checkboxes into two select boxes