Changed check.php for symlink