Update magicshell.php