added support for selects with static or endpoint options