Adding trailing slashes to link variables