adding path to links