Added 2013 support for autodiscover