Update basecheck.py