added rglob to functions.php