updated for wbcheck.py