Allow environment-variable configuration of base dir