modified understand_csq.py to work with job arrays