Added missing functions.php file