handle _URI env variables too