Adjust absolute path logic