Create reg.functions.php