Create sb_detections.R