Added changes to if.php