updated to reflect changes to cloudmux endpoint detection