generalize the use of relative symlinks