Deductions & credits

An additional question - since TurboTax asks me to enter FMV and the Net Proceeds value  - is it better to adjust the cost basis with all my commissions, expenses and improvements? Or should I add the improvements only to the FMV and deduct the expenses and commissions from the Net Proceeds.  Since I was given a 1099-S should my net proceeds match what is on that form?