Added input handling to I1.php