wrote script to generate dropdowns