Operating Cab Windows and Roof Hatch

Hello, i'm getting close to finishing the cab for the Allegheny. I have the windows and roof hatch operating from inside the cab. I'm trying to get them to display their open positions from the outside view. I've been looking at a number of blueprints from other engines that have these features and have tried to imitate their blueprint (and script) entries, but, I'm still unable to get it to work. I've tried the external animation function on the roof hatch and am able to get the hatch to display open, but only after I've opened it several times. Also, it will not close. Any help would be greatly appreciated.