add paths to links