Updated local.py