Refactored config for paths