Added local handling for definesite.py