gen_load script change