Only run connect commands on supported OSes