Modified app.gaerun() in main.py