added support for settings.py