Merged sym link creation into a single loop