new check.py and perfmon.py