cleanup to use settings.py