Updated localized-analysis.py