Updated to correctly deal with the "latest" symlink