Use absolute path for directory setting