fix setting to always require local.py or default to dev.py