restoring local.py file