I assume most of the freelancer here sign some form of a contract before beginning work. Do you use a generic template? Where did you pick up that template from? Did you get a lawyer to write it up or did you pick one off the web?
I _almost_ never user a lawyer or a legalese contract. The projects I do, custom CMS's and small business applications, just don't demand it.<p>What I have is signed work agreement.<p>It specifies deliverables, cost, cost and process of scope changes, an short term maintenance agreement(with cut off date) and how the software is licensed (I only deliver software which has an open source license, MIT usually).<p>Licensing the software under open source lets the client have it, and frees me to reuse it for other projects. There is also a warranty clause in the license.<p>Twice in 20 years I have not gotten paid. Neither time I had an agreement, both were for small amounts.<p>But, if you have large clients, a large budget, or intellectual property is an issue then consider a lawyer, and one who has dealt with software projects before.
Go see a lawyer. I was lucky enough to have a friend who was happy to help initially, and a family member who I could call from time to time. Ultimately though, actually hiring someone to sort through the all minutiae can be extremely valuable when dealing with bigger corporate or government clients. Even more so if you plan to accumulate your own IP.
Here is the template I have used in projects:<p><a href="http://rosskimbarovsky.com/contracts-for-software-and-website-developers.pdf" rel="nofollow">http://rosskimbarovsky.com/contracts-for-software-and-websit...</a>