fixing bug in generate_run_scripts regarding HF/SHF models.