Removed any static paths from the build_maingui.py script.