modified tutor.php from urmi32 git repo