I would require written assurance that any and all lawsuits filed against you stemming from performance of the job will be paid for by them as each bill came in, and have the written assurance reviewed and approved by a lawyer experienced in such matters.