Adding support for customizable default_path.