Edit, edit, edit!
Go back and look at the last ten pages you have written. Did you use a comma before but?
"When independent clauses are joined by and, but, or, so, yet, or any other conjunctions a comma usually precedes the conjunction."
Chicago Manual of Style 16th Edition