Small changes to main.py