Added BaseDirectory to configuration path.