The primary reason local governments require construction permits and plans review is: