maxscore and phpscript