external scripts error translation