fixed issues with relative/absolute paths.