initial version of script/HMGU_fix_1.rb