configure by setting environment variables

see readme for details