Take env vars 1st, yaml 2nd