Free Enterprise is a 1999 romantic comedy film starring Eric McCormack and Rafer Weigel, and featuring William Shatner, directed by Robert Meyer Burnett and written by Mark A. Altman and Burnett.
Shatner plays a campy caricature of himself as he works on a oneman musical version of Julius Caesar in hopes of finally being taken seriously as a dramatist and musical performer. Hiphop artist The Rated R, joined by Shatner, provides the concluding musical number No Tears for Caesar, a pastiche of famous lines from the play set to a rap rhythm. The films score was produced by Scott Spock.Kay Reindl, a friend of Mark A. Altman and Robert Meyer Burnett, and a television writer on Millennium and The Twilight Zone, felt that they could make a film out of their cliques obsession with Star Trek. Burnett remembered that one day Altman called him and read a scene where he was beaten up in junior high school for wearing a Trek uniform. William Shatner appeared to him as a vision and told him to fight back. Altman wrote the first draft and then Burnett rewrote it. ........
Source: Wikipedia