Perf attribute routing link generation

Uses the same infrastructure as action selection
will update comment, this is the fix for #741