scripts for SABINS processing