Handling randomization of hpdd file