Added includes for scripts and head. Updated index.php with the necessary include statements.