scripts for preparing threeB runs