Updated to use figaro for env vars