make db selection env specific