removed bug in binary re-writing script (insert_pref). Negative offsets were not identified (skipped) by the regular expression - serious bug!!!