added variable serverexternname and intern resolution for extern name