fixing environment vars for v2 cart compatibility