Env var API now working perfectly.