Update repcheck.php