added env var set up from uri