Updated boxrace to have a cleanup function