Enforce locale

This gets rid of the deprecation warnings.
Also removed the output of the current database env