adding https ref and 10.6 support