Update function-rivets.php