subary sunroof issues

i have a 96 Legacy, the sunroof isnt working right. it had been sometimes opening with the switch, but wouldnt close, i would have to push it closed, but only after pressing the close button to get the cable to feed to the closed position. now it wont do either, and i can see the plastic ends on both sides of the (inner track) cable. does anyone have an idea how to fix this or atleast a diagram of how it is supposed to be routed/hooked? thanks…

step one; remove sunroof

step two; weld steel plate in place of sunroof

step three; sell sunroof and headliner to a leg owner who wants it and profit(make sure you trade headliners with them or else you got no headliner)

once a sunroof goes bad it stays bad lol