changes in singleplayer.php