enable environment variables to be passed in via command line

Handy for integrating into CI