change gui to run with python3