Modified main.py launcher