The point about permitting and code is well taken. The amount of code that's been introduced in the last decade or two so somebody can justify their existence is off the charts. Costs to stay compliant have ratcheted up and per-sq-ft costs have increased way more rapidly than inflation would justify to keep up with these regulatory changes.
The National Building Code needs heavy review to reduce code that has minimal effect at maximal costs.