Added code to determine proper perimeter type and set it for new Hub items.