Fixed bug where text env not being loaded if db object called early

Fixed bug where text env not being loaded if db object called early