I learned the hard way and had to pay $200 for the Mechanical permit that is required. It should have been $80 but because I had done the work already I had to pay double $160. The problem is that if you change out the fan and it burns your house down you could be held responsible for not properly permitting.