now configurable by environment variables
now runnable as FCGI application