add run proxy code to gui