Cleaned up old code in index.php