The episode had it's moments, but I hated how they treated Scotty in this one.
Part of me wants to believe they made up for it in the end by letting him come up with the solution.
Scotty said:Geordi. I have spent my whole life trying to figure out crazy ways of doing things. I'm telling you, as one engineer to another, I can do this.
But, yeah, no matter how great Doohan's acting was (and he's great), the script didn't do him too much goodwill at times. On the other hand, having him be seen as a revered icon would have been the polar opposite thing to do (and be just as bad)...