initTextPaint
adds script to repair local file not found