I am having trouble creating a Loft with a 90 degree twist

I am trying to create a loft using a Guide Curve that goes around a compound curve with a 90 degree twist. I need the twist to stay tangent to both straight cuts. Not sure If I explained that very well. I have done this 3 or 4 different ways but cannot get the twist to stay tangent. I am running a cable in the slot and it needs to be molded in a die so it has to be straight clean geometry. help anyone.  ;(  The attached file includes the sketches and  guide curve that I cannot get to work.

SolidworksParts And Features