 The film originally ended with the version of When You Wish Upon a  Star used in the film _Pinocchio (1940)_ (qv), but it tested  negatively in previews and was cut. That is why Roy Neary was trying  to convince his family to see that film together just before the  blackout. The song remains incorporated in the  John Williams (I) (qv) score, though. A toy can also be heard  playing the songs melody right before Roy rips off the top off his  sculpture.