Updated scripts for TB31