Scripts related to XRB search in MACHO database