Update main.py for easier configuration