Updated all and made the structure of all.php