added path validation to configuration