adding CAS and index.php