Clean up functions.php and index.php