Relevance.py slightly updated