Create HP_miscFunctions.php