Switch to using environment variable

this makes it easier to run tests in the future