Changed file permissions and updated Index.php