Corrected script.php