fixed bug where env vars trying to be loaded at runtime from settings.py