Fixed a couple of loops and save file do_randB_scl.r