adds dynamic dropdown script