add DB selection for localhost