Adding fixed main.py