modified tutor.php from urmi32 branch