Create compatibility.py