made some changes to proc_insert_other_field script