Move symlinking inside the each loop

So that #link is less hard-coded