created a setuptools-based install script, make a few things configurable via env vars