Refactoring for relative paths config.