Fix bug where correct configuration wasn't being pulled