George Gallo and Josh Posner took an old idea (based on a 1982 film of the same name  by Harry Hurwitz) and tweaked the basic idea of “The Producers” to give us the comedy “The Comeback Trail.” The movie stars Robert DeNiro, Tommy Lee Jones, Zach Braff, Morgan Freeman, Emile Hirsch and there is an uncredited cameo from Jason Bateman.

Gallo was the creative force behind “Wise Guys,” “Midnight Run,” and “Bad Boys,” among other amusing films. This is a World Class Cast and the music by Aldo Schllaku and cinematography by Lukasz Bielan are top-notch. Budget was estimated to be $25 million.

Here’s the plot in a nutshell (as revealed in numerous trailers): Max Barber (DeNiro) and his nephew Walter Creason (Zach Braff) have just released “Killer Nuns” (“They’re nuns with a bad habit.”). It’s another bomb from Miracle Pictures. [In fact, the Miracle Pictures slogan is, “If it’s good, it’s a miracle.”]

Walter borrowed $350,000 from Reggie Fontaine (Morgan Freeman) to make the picture, and Reggie wants his money back. Since Reggie isn’t kidding about wanting repayment, Max goes to James Moore (Emile Hirsch), a wealthy investor, and James (call him Jamie) demands that the great script for a film called “Paradise” be signed over to Jamie, in exchange for helping bail Max out.

It is while at Jamie’s mansion, where filming is taking place on yet another picture, that Zach Braff, seeking an autograph, inadvertently causes Frank Pierce, the star of the picture (uncredited cameo by Jason Bateman) to fall off a building.  (I wondered if Frank Pierce was modeled on Tom Cruise?) Pierce is killed,— but he was insured for $5 million.

That is the germ of the idea for Max: Hire an over-the-hill movie star of yesteryear, insure him heavily, and kill him off while making a picture. Then, collect the insurance. This isn’t too far off the idea behind “The Producers” when another Max planned to make a terrible Broadway bomb and collect for its failure. That original film with Dick Shawn (“Springtime for Hitler,” anyone?) unfortunately goes on to be a roaring success, which ruins Zero Mostel’s (Max Bialystock’s) plans.

Tommy Lee Jones is the over-the-hill Western star, Duke Montana, who is reduced to doing commercials for Big Earl’s Used Cars, while living in a retired actors’ home, where he is suicidal over his long-lost love, Bess.

THE GOOD

The dialogue frequently references famous movies of yesteryear. At one point, for instance, Morgan Freeman tells Max’s character that, if he is not promptly paid within 72 hours, “I’ll hunt you down like Redford and Newman in ‘Butch Cassidy and the Sundance Kid.’” There is an amusing exchange when Morgan Freeman—a frequent investor in numerous film projects—-marvels to his sidekick, Devin, that they are on the movie set where “Gunga Din” was filmed.

“This is where they shot Gunga Din!” says Morgan’s character.

Devin responds, “Who is Gunga Din and why did they shoot him?”

It’s throw-away lines like this, plus the stunt horse Buttermilk (an homage to Dale Evans) that will tickle the fancy of true movie buffs.

The horse (Buttermilk) has various tricks that he’ll perform upon the uttering of a code word. Say “rocket” and he’s off running like one. Say “mattress” and he’ll lie down. Say “Rhubarb” and watch out! There is also a bull whose intentions towards the cast are deadly and a hanging footbridge over a canyon that makes Duke ‘fess up that he is afraid of heights.

THE BAD

I’ve never thought that Robert DeNiro played comedy as well as drama. He always seems to be over-the-top hammy in fare like “Meet the Fockers,” but the movies were still funny. His mugging for the camera (again) doesn’t keep the lines and situations from being laugh-out-loud humor at a time when we desperately need more laughter in our lives.

The movie was filmed in and around Albuquerque, New Mexico, and will be streaming by December 18th. Be sure to stay after the credits to see the hilarious phoney ads for “Killer Nuns” and films like “Cows from Beyond” by the mythical Miracle Films.