added internal and external errors. Changed idname to iddir
added info message