Manualy reasining missing Animator Component

I am quite stuck with this one, I am working on my character customizer for a 2d game and i followed this tutorial to get a rough idea on how to approach this.

For this to work i needed to create animations for every body part separately which by hand would be a lot of repetitive work, so i wrote an editor script which converts my sprite sheets to animations. All works fine the only thing that is now sopping me is that the animations now have no idea which sprite renderer to take.


Is there a way either implement a way to set the reference with my tool or by manually setting it in the animator?

Thanks a lot.