merge rec.php & snd.php into stat.php