the detection module needs to initialize at page load time