modified the gen_load and maf_splitter script