He wanted to fly the shuttle to the sun.
That sounds like Airplane II: The Sequel. In that case I think it's ok that some scientific realism was sacrificed.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming