OCR affiliated script for img and text manipulation