added OCR and repair, functional bot