Updated cases for swithcing between the hub and the live site