Updated index.php to support revisions in framework