switching up the way the machine detects if it's production