added detecting of server virtual name in script name.