minor refactor; change API environment to live