added local_settings.py; renamed some variables