modified to be able to add clean urls  no index.php