makde env var consistent (and changed name), updated additional hard-coded endpoint