Corrected errors in index.php - I didn't even know when/how this was called