Fix issue with .env file not actually being loaded.