use WindowBuilder
prefer attack type
update script