randpermute_run.sh, controlk_run.sh added