add results box, move some script