Pull the permits before the work starts, and let the city inspect each stage. On one flip, permits cost 1,200 dollars and took about 3 weeks. Skipping them cost 11,554 dollars of profit.