added config options to define defaults and config directories via environment