Small changes in main.py