How are permit fees calculated?