adding relative paths to links