Actually use the right environment config