Optimized functions.php and other files