improve binary download and add end window