Add the functionallity to check if the translation script is running in a NameNode