modified to include settings.py