new version

of local.py